package com.gitee.neuray.security.wb;

import com.ace.cache.EnableAceCache;
import com.gitee.neuray.security.auth.client.EnableAceAuthClient;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableDiscoveryClient
@EnableCircuitBreaker
@SpringBootApplication
@EnableScheduling
@EnableTransactionManagement
@MapperScan("com.gitee.neuray.security.wb.*.mapper")
@EnableSwagger2Doc
@ServletComponentScan
@EnableAceCache
@EnableFeignClients({"com.gitee.neuray.security.wb.ribs.feign"})
public class NeurayPmWbApplication {

  public static void main(String[] args) {
    SpringApplication.run(NeurayPmWbApplication.class, args);
  }
}
